#ifndef VIRUS_H
#define VIRUS_H

#include <QObject>

class Virus : public QObject
{
public:
    Virus(int infect, int vir, int immuneres, int drugres, QObject * parent = 0);
    Virus(Virus * parentVirus, QObject * parent);

    void setHP(double value);
    double getHP();

    void Mutate();
    int Infectivity;        // This controls how likely this virus is to infect a non infected person. Range: 0-1000
    int ImmuneResistance;   // This controls how resistant the virus is to a person's immue system. Rane: 0-1000
    int Virulence;          // This controls how much damage the virus does to a person each update. Range 0-1000
    double HP;              // This stores the health of the virus, when it gets to zero the virus dies. Range: 0-1000

    int DrugResistance;
};

#endif // VIRUS_H
